package com.zkh.myutils.net.ftp;

/**
 * FTP响应
 */
public interface FTPReply {
	int RESTART_MARKER = 110;
	int SERVICE_NOT_READY = 120;
	int DATA_CONNECTION_ALREADY_OPEN = 125;
	int FILE_STATUS_OK = 150;
	int COMMAND_OK = 200;
	int COMMAND_IS_SUPERFLUOUS = 202;
	int SYSTEM_STATUS = 211;
	int DIRECTORY_STATUS = 212;
	int FILE_STATUS = 213;
	int HELP_MESSAGE = 214;
	int NAME_SYSTEM_TYPE = 215;
	int SERVICE_READY = 220;
	int SERVICE_CLOSING_CONTROL_CONNECTION = 221;
	int DATA_CONNECTION_OPEN = 225;
	int CLOSING_DATA_CONNECTION = 226;
	int ENTERING_PASSIVE_MODE = 227;
	int ENTERING_EPSV_MODE = 229;
	int USER_LOGGED_IN = 230;
	int FILE_ACTION_OK = 250;
	int PATHNAME_CREATED = 257;
	int NEED_PASSWORD = 331;
	int NEED_ACCOUNT = 332;
	int FILE_ACTION_PENDING = 350;
	int SERVICE_NOT_AVAILABLE = 421;
	int CANNOT_OPEN_DATA_CONNECTION = 425;
	int TRANSFER_ABORTED = 426;
	int FILE_ACTION_NOT_TAKEN = 450;
	int ACTION_ABORTED = 451;
	int INSUFFICIENT_STORAGE = 452;
	int UNRECOGNIZED_COMMAND = 500;
	int SYNTAX_ERROR_IN_ARGUMENTS = 501;
	int COMMAND_NOT_IMPLEMENTED = 502;
	int BAD_COMMAND_SEQUENCE = 503;
	int COMMAND_NOT_IMPLEMENTED_FOR_PARAMETER = 504;
	int NOT_LOGGED_IN = 530;
	int NEED_ACCOUNT_FOR_STORING_FILES = 532;
	int FILE_UNAVAILABLE = 550;
	int PAGE_TYPE_UNKNOWN = 551;
	int STORAGE_ALLOCATION_EXCEEDED = 552;
	int FILE_NAME_NOT_ALLOWED = 553;

	// FTPS响应码
	int SECURITY_DATA_EXCHANGE_COMPLETE = 234;
	int SECURITY_DATA_EXCHANGE_SUCCESSFULLY = 235;
	int SECURITY_MECHANISM_IS_OK = 334;
	int SECURITY_DATA_IS_ACCEPTABLE = 335;
	int UNAVAILABLE_RESOURCE = 431;
	int BAD_TLS_NEGOTIATION_OR_DATA_ENCRYPTION_REQUIRED = 522;
	int DENIED_FOR_POLICY_REASONS = 533;
	int REQUEST_DENIED = 534;
	int FAILED_SECURITY_CHECK = 535;
	int REQUESTED_PROT_LEVEL_NOT_SUPPORTED = 536;

	// IPv6和FTPS错误码
	int EXTENDED_PORT_FAILURE = 522;
}
